package com.easylinkin.linkappapi.meterbilling.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.meterbilling.entity.ResidentInfo;

import java.util.List;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/17 15:26
 */
public interface ResidentService {

    String saveResidentInfo(ResidentInfo residentInfo);

    String updateResidentInfo(ResidentInfo residentInfo);

    ResidentInfo getResidentInfoById(Integer residentId);

    ResidentInfo getResidentInfoByPhone(String phone);

    String delete(Integer residentId);

    IPage<ResidentInfo> getResidentInfoPage(Page page, ResidentInfo residentInfo);

    List<ResidentInfo> getResidentInfoList(ResidentInfo residentInfo);

    void updatePwd(ResidentInfo residentInfo);

    ResidentInfo getResidentInfoByPhoneApp(ResidentInfo residentInfo);
}
